package com.sc.nft.req.points;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author JYT
 * @create 2024/5/13 15:39
 */
@Data
public class InitUserPointsReq {

    /**
     * 微信小程序用户id
     */
    @NotNull(message = "微信小程序用户id不能为空")
    private Long miniUserId;

    public static InitUserPointsReq build(Long miniUserId){
        InitUserPointsReq initUserPointsReq = new InitUserPointsReq();
        initUserPointsReq.setMiniUserId(miniUserId);
        return initUserPointsReq;
    }
}
